#ifndef CACHESTATE
#define CACHESTATE

#include <app\states\sessionState.h>

#include <Poco\Path.h>
#include <Poco\File.h>

#include <string>
#include <sstream>

using namespace std;

using Poco::Path;

class cacheState : public sessionState {

  static int class_type_id;
  int type_id;

  Poco::Path cachedir;

public:

  static sessionState *create();

  void setCacheDir(string _cachedir);
  Poco::Path getCacheDir();

  static int getClassTypeId();
  virtual int getTypeId();

  cacheState();
  virtual ~cacheState();
};

#endif